
<!--********************* Part1:Jsp Head *********************-->

<%@ page contentType="text/html;charset=UTF-8"%>  
<%@ include file="/framework/head.jsp"%>

<!--********************* Part2:Java Code *********************-->
<%
ProductTaxData obj = (ProductTaxData)context.getValue("ProductTaxData");
%>

<!--********************* Part3:JavaScript Code ***************-->
<script language="javascript">

var g_check_items = new Array();
var g_i = 0 ;

//g_check_items[g_i++] = new CheckItem("编码","Code",true,true,6,true,CHECK_ITEM_TYPE_INT);
g_check_items[g_i++] = new CheckItem("名称","Name",true,true,50,false,0);

g_check_items[g_i++] = new CheckItem("全称","FullName",false,true,200,false,0);

g_check_items[g_i++] = new CheckItem("地址","Address",false,true,200,false,0);

g_check_items[g_i++] = new CheckItem("联系人","ContactPerson",false,true,50,false,0);

g_check_items[g_i++] = new CheckItem("联系电话","ContackTel",false,true,50,false,0);

g_check_items[g_i++] = new CheckItem("显示顺序","DisplayOrder",false,false,0,true,CHECK_ITEM_TYPE_INT);

g_check_items[g_i++] = new CheckItem("备注","Remark",false,true,500,false,0);



function doSave()
{
	SetValue("m_Code",GetValue("Code"));
	SetValue("m_ProductName",GetValue("ProductName"));
	SetValue("m_CodeEdition",GetValue("CodeEdition"));
	SetValue("m_TaxType",GetValue("TaxType"));
	SetAction("saveProductTax");
	frm.submit();
}
function doCancel()
{
	SetAction("backListProductTax");
	frm.submit();
}

key_InitDefault();
key_RegSubmitHandler(doSaveAndNew);
</script>

<%=uiBody%>>

<%@ include file="/framework/menu.jsp"%>

<!--********************* Part4:Form  ***************-->

<form id=frm action="<%=Config.getSrv()%>" method="post">
<input type=hidden name="action_code">

<input type=hidden name="Id" value="<%=obj.getProductCode()%>">


<input type=hidden name="m_Code">

<input type=hidden name="m_ProductName">

<input type=hidden name="m_CodeEdition">

<input type=hidden name="m_TaxType">



<br>

<%=UIManager.addEditHeadTitle("产品税务信息维护")%>


<!--********************* Part5:Edit Area  ***************-->
<%=uiEditStart%>>
<%
	int key_tab = 1 ;
%>
	<%=uiEditTR%>>
        
		<%=uiEditHeadTD%> width=250>产品编码：</td>
		<%=uiEditTD%>> 
            <input type =select class ="select" name="Code" size=20  value="<%=obj.getProductCode()%>" key_tab="<%=key_tab++%>" disabled>（编码不可修改）
            
		</td>
	</tr>
	
	<%=uiEditTR%>>
        
		<%=uiEditHeadTD%> width=250>产品名称：</td>
		<%=uiEditTD%>> 
            <input type =select class ="select" name="ProductName" size=20  value="<%=obj.getProductName()%>" key_tab="<%=key_tab++%>" disabled>（产品名称不可修改）
            
		</td>
	</tr>

	<%=uiEditTR%>>
		<%=uiEditHeadTD%> width=250>编码版本号：</td>
		<%=uiEditTD%>>
			<input type=text class="texts"  name="CodeEdition" size=20  value="<%=obj.getCodeEdition()%>" key_tab="<%=key_tab++%>">
		</td>
	</tr>
	


	<%=uiEditTR%>>
		<%=uiEditHeadTD%> width=250>税收分类编码：</td>
		<%=uiEditTD%>>
			<input type=text class="texts"  name="TaxType" size=20  value="<%=obj.getTaxType()%>" key_tab="<%=key_tab++%>">
		</td>
	</tr>
	

<%=uiEditEnd%>

<!--********************* Part6:Action Area  ***************-->
<%=uiCommandStart%>>
	<%=uiCommandTR%>>
		<%=uiCommandTD%>>                     
			<input type=button class="buttons" value="    保存   " onclick="doSave();return false;">
			<input type=button class="buttons" value="    返回   " onclick="doCancel();return false;">
		</td>
	</tr>
<%=uiCommandEnd%>
</form>

<%@ include file="/framework/foot.jsp"%>

<!--
	Author    :justin
	FileName  :/system/base/WarehouseEdit.jsp
-->
